package youth;

class Human {
    String name;
    int age;
    String gender;
    String school;
}

class OrdinaryYouth extends Human {
    String work;

    public void introduceSelf() {
        System.out.println("我叫" + name + "，今年" + age + "岁，是" + gender + "性，毕业于" + school + "，目前从事" + work + "工作。");
    }
}

class ArtisticYouth extends Human {
    String masterpiece;
    String dream;

    public void introduceSelf() {
        System.out.println("我叫" + name + "，今年" + age + "岁，是" + gender + "性，毕业于" + school + "，我的代表作是" + masterpiece + "，我的梦想是" + dream + "。");
    }
}

